package com.ai.controller.bt;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.ai.common.controller.BaseController;
import com.ai.common.model.Result;
import com.ai.service.reviewed.model.YhxxModel;
import com.ai.service.reviewed.service.ISbhzinfoService;

@RequestMapping("/front")
@Controller("com.ai.controller.bt.BtsbIndexController")
public class BtsbIndexController extends BaseController{
	
	/**
	 * Description ：主页
	 */
	@RequestMapping("/btindex")
	public String btindex() {
		
		YhxxModel yhxxModel = (YhxxModel)request.getSession().getAttribute("yhxxModel");
		if (yhxxModel==null) {
			return "/front/frontgoods/login";
		}
		
		Result result = new Result(true);
        result.rendering();
		
		return "/front/frontgoods/btsb/index";
	}
	
	@Resource(name = "isbhzinfoService")
	private ISbhzinfoService isbhzinfoService;
}
